package com.hoshiicloud.user.param.usercenter;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 用户银行卡修改参数实体
 *
 * @author : yangcheng
 * @date : 2019/5/11 15:41
 * @mail : maiboyc@163.com
 **/
public class MemberBankcardUpdateParam {

    // ID
    @NotNull(message = "ID不能为空")
    @ApiModelProperty(name = "id", value = "ID", required = true, dataType = "java.lang.Long", example = "3171776001692664100")
    private Long id;

    // 用户主键ID
    @NotNull(message = "用户主键ID不能为空")
    @ApiModelProperty(name = "userId", value = "用户主键ID", required = true, dataType = "java.lang.Long", example = "3171776001692664000")
    private Long userId;

    // 银行名称
    @NotNull(message = "银行名称不能为空")
    @ApiModelProperty(name = "bankName", value = "银行名称", required = true, dataType = "java.lang.String", example = "中国建设银行")
    private String bankName;

    // 持卡人
    @NotNull(message = "持卡人不能为空")
    @ApiModelProperty(name = "bankAccountname", value = "持卡人", required = true, dataType = "java.lang.String", example = "里斯本")
    private String bankAccountname;

    // 卡号
    @NotNull(message = "卡号不能为空")
    @ApiModelProperty(name = "bankAccount", value = "卡号", required = true, dataType = "java.lang.String", example = "6225882108575939932")
    private String bankAccount;

    // 所在支行
    @NotNull(message = "所在支行不能为空")
    @ApiModelProperty(name = "bankAddress", value = "所在支行", required = true, dataType = "java.lang.String", example = "建设银行马尾支行")
    private String bankAddress;

    // 省份
    @NotNull(message = "省份不能为空")
    @ApiModelProperty(name = "province", value = "省份", required = true, dataType = "java.lang.String", example = "福建省")
    private String province;

    // 创建时间
    @NotNull(message = "创建时间不能为空")
    @ApiModelProperty(name = "createTime", value = "创建时间", required = true, dataType = "java.util.Date", example = "2019-04-05 12:33:30")
    private LocalDateTime createTime;

    // 城市
    @NotNull(message = "城市不能为空")
    @ApiModelProperty(name = "city", value = "城市", required = true, dataType = "java.lang.String", example = "福州市")
    private String city;

    // 是否默认地址（0-否 1-是）
    @NotNull(message = "是否默认地址不能为空")
    @ApiModelProperty(name = "idDef", value = "是否默认地址", required = true, dataType = "java.lang.Integer", example = "0")
    private Integer idDef;

    // 区域
    @NotNull(message = "区域不能为空")
    @ApiModelProperty(name = "area", value = "区域", required = true, dataType = "java.lang.String", example = "马尾区")
    private String area;

    // 省份code
    @NotNull(message = "省份code不能为空")
    @ApiModelProperty(name = "provinceCode", value = "省份code", required = true, dataType = "java.lang.String", example = "350000")
    private String provinceCode;

    // 城市code
    @NotNull(message = "城市code不能为空")
    @ApiModelProperty(name = "cityCode", value = "城市code", required = true, dataType = "java.lang.String", example = "350000")
    private String cityCode;

    // 区域code
    @NotNull(message = "区域code不能为空")
    @ApiModelProperty(name = "areaCode", value = "区域code", required = true, dataType = "java.lang.String", example = "350015")
    private String areaCode;

}  